package com.liveinstars.api.post.dto;

import lombok.Data;
import lombok.ToString;

/**
 * Base comment entity.
 * type 4用于活动的评论
 * @author johnniang
 * @author ryanwang
 * @date 2019-03-20
 */
@Data
@ToString(callSuper = true)
public class BaseComment{

    private Long id;

    /**
     * Commentator's name.
     */
    private String author;

    /**
     * Commentator's email.
     */
    private String email;

    /**
     * Commentator's ip address.
     */
    private String ipAddress;

    /**
     * Commentator's website.
     */
    private String authorUrl;

    /**
     * Gravatar md5
     */
    private String gravatarMd5;

    /**
     * Comment content.
     */
    private String content;

    /**
     * Comment status.
     */
    private Integer status;

    /**
     * Commentator's userAgent.
     */
    private String userAgent;

    /**
     * Is admin's comment.
     */
    private Boolean isAdmin;

    /**
     * Allow notification.
     */
    private Boolean allowNotification;

    /**
     * Post id.
     */
    private Integer postId;

    /**
     * Whether to top the comment.
     */
    private Integer topPriority;

    /**
     * 所属用户id
     */
    private Integer userId;
    /**
     * Parent comment.
     */
    private Long parentId;


}
